<?php
$passage = $_REQUEST["liuyanban"];
$passage.="\n";
//file_put_contents("1.txt", $passage, FILE_APPEND);
if (file_put_contents("1.txt", $passage, FILE_APPEND)) {
    echo '<script>alert("发表成功，点击返回");window.location="liuyan0.php"</script>';
} else {
    echo '<script>alert("发表失败，点击返回");window.location="liuyan0.php"</script>';
}
